Package com.netscape.certsrv.dbs
Class DBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.netscape.certsrv.base.EBaseException
com.netscape.certsrv.dbs.DBException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DBNotAvailableException
,DBRecordAlreadyExistsException
,DBRecordNotFoundException
,ELdapException
A class represents a database exception.
- See Also:
-
Field Summary
Fields inherited from class com.netscape.certsrv.base.EBaseException
mParams
-
Constructor Summary
ConstructorsConstructorDescriptionDBException
(String msgFormat) Constructs a database exception.DBException
(String msgFormat, Object[] params) Constructs a database exception.DBException
(String msgFormat, Throwable cause) Constructs a database exception. -
Method Summary
Methods inherited from class com.netscape.certsrv.base.EBaseException
getParameters, toString, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
DBException
Constructs a database exception.- Parameters:
msgFormat
- message format
-
DBException
Constructs a database exception.- Parameters:
msgFormat
- message formatcause
- the cause
-
DBException
Constructs a database exception.- Parameters:
msgFormat
- message formatparams
- list of parameters
-
-
Method Details
-
getBundleName
Description copied from class:EBaseException
Returns the given resource bundle name.- Overrides:
getBundleName
in classEBaseException
- Returns:
- the name of the resource bundle for this class.
-